package com.sunnay.util;

public class CommUtils {
    public static final String proxyServer = "u5959.5.tn.16yun.cn";

    public static final int proxyPort = 6441;

    public static final String proxyUser = "16USGJZI";

    public static final String proxyPass = "548292";
    //最大截拍时间
    public final static Integer MAX_END_TIME = 2*60*60;
    //店铺首页拍品列表
    public final static String SHOP_PRODUCT_LIST = "https://api.weipaitang.com/wechat/v1.0/shop/get-all-shop-sale-list?shopUri=%s&page=%s&sort=%s";
    //拍品详情
    public final static String PRODUCT_DETAIL = "https://api.weipaitang.com/wechat/v1.0/sale/mini-detail?saleUri=%s";
    //支付支付链接
    public final static String ALI_URL = "https://w.weipaitang.com/webApp/payment/alipay/%s";

    public static final String USER_AGENT = "Mozilla/5.0 (Linux; NT 10.0; vivo X20Plus Build/OPM1.171019.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/43.0.2357.65 Mobile Safari/537.36";

    //搜索店铺
    public static final String SEARCH_SHOP = "https://api.weipaitang.com/wechat/v1.0/live/get-live-detail?userinfoUri=";

    public static class LiveUtils{
        public final static String SALE_DETAIL_PARK = "https://api.weipaitang.com/wechat/v1.0/sale/part?r=menu_home-discovery&c=menu_home-discovery&pos=2&saleUri=";

        //检测直播间是否有拍品
        public static final String SEND_SALE_LAYER = "https://live-api.weipaitang.com/app/v1/livesale/get-sale-layer?__uuri=";
        //开始出价
        public static final String USER_LIVE_BID = "https://trade-api.weipaitang.com/wechat/v1/sale/bid/to-bid-l?bidPrice=%s&saleUri=%s&source=live&roomId=%s&__uuri=%s";
        //关注直播间
        public static final String ATTENTION_LIVE = "https://live-api.weipaitang.com/app/v1/liveuser/to-attention-l";
        //分享直播间
        public static final String SHARE_LIVE_TIP = "https://api.weipaitang.com/app/v1.0/live/send-share-tip-l?__uuri=";
        //分享直播间反馈信息
        public static final String SHARE_LIVE_L = "https://live-api.weipaitang.com/app/v1/livelottery/share-l?userinfoUri=";
        //发言
        public static final String SEND_USER_SIGN = "https://live-api.weipaitang.com/app/v1/liveroom/user-sig-l?__uuri=";
        //发言登录
        public static final String SEND_USER_LOGIN = "https://webim.tim.qq.com/v4/openim/login?websdkappid=537048168&v=1.7.3&platform=10&identifier=%s&usersig=%s&contenttype=json&sdkappid=1400175727&accounttype=435&apn=1&reqtime=%s";
        //分组
        public static final String SEND_USER_GOURP = "https://webim.tim.qq.com/v4/group_open_http_svc/apply_join_group?websdkappid=537048168&v=1.7.3&platform=10&tinyid=%s&a2=%s&contenttype=json&sdkappid=1400175727&accounttype=435&apn=1&reqtime=%s";
        //getmsg
        public static final String SEND_USER_MSG = "https://webim.tim.qq.com/v1/group_open_long_polling_http_noauth_svc/get_msg?websdkappid=537048168&v=1.7.3&platform=10&tinyid=%s&a2=%s&contenttype=json&sdkappid=1400175727&accounttype=435&apn=1&reqtime=%s";
        //发送消息
        public static final String SEND_USER_SEND_MSG = "https://webim.tim.qq.com/v4/group_open_http_svc/send_group_msg?websdkappid=537048168&v=1.7.3&platform=10&tinyid=%s&a2=%s&contenttype=json&sdkappid=1400175727&accounttype=435&apn=1&reqtime=%s";
        //消息提交给服务端
        public static final String SEND_ADD_ROOM_MSG = "https://live-api.weipaitang.com/app/v1/liveroom/add-room-msg-l?__uuri=";
        //消息确认提交了
        public static final String SEND_ADD_ACTIVE_MSG = "https://live-api.weipaitang.com/app/v1/live/active-l";
    }
}
